﻿package core.dialog {
	
	import flash.display.MovieClip;
	import base.BaseMc;
	import core.display.AlphaBg;
	
	public class DialogCheckNet extends BaseMc {
		
		private var bg:AlphaBg;
		
		public function DialogCheckNet() {
			
		}
		
		protected override function onInit():void {
			bg = new AlphaBg();
			this.parent.addChild(bg);
			this.parent.swapChildren(bg,this);
			this.centerOfStage();
		}
		
		protected override function onRemove():void {
			this.parent.removeChild(bg);
		}
		
		public function set Title(str:String){
			this.title.text = str;
		}
		
		public function get Title(){
			return this.title.text;
		}
		
	}
	
}
